import matplotlib.pyplot as plt
import numpy as np

# 绘图标记maker
ypoints = np.array([1,3,4,5,8,9,6,1,3,4,5,2,4])

plt.plot(ypoints, marker='o', color='r', linestyle='-.')

# 轴标签和标题
plt.xlabel('time')
plt.ylabel('sum')
plt.title('data-sta')
plt.show()